import request from "@/utils/request.js";

/**
 * 任务单接口
 * @param params
 * @returns {AxiosPromise}
 */
export function getCompanyById(params) {
  return request({
    url: "/jk/getCompanyById",
    method: "post",
    data: params
  });
}

/**
 * @param params
 * @returns {AxiosPromise}
 */
export function getEcharsTask(params) {
  return request({
    url: "/jk/getEcharsTask",
    method: "post",
    data: params
  });
}
/**
 * @param params
 * @returns {AxiosPromise}
 */
export function getAllEcharsTask(params) {
  return request({
    url: "/jk/getAllEcharsTask",
    method: "post",
    data: params
  });
}

/**
 * 月度金额
 * @param params
 * @returns {AxiosPromise}
 */
export function GetCompanyAmount(params) {
  return request({
    url: "/jk/GetCompanyAmout",
    method: "post",
    data: params
  });
}

export function GetHomeTaskCount(params) {
  return request({
    url: "/jk/GetHomeTaskCount",
    method: "post",
    data: params
  });
}

export function GetHomeTaskList(params) {
  return request({
    url: "/jk/GetHomeTaskList",
    method: "post",
    data: params
  });
}
